<template>
  <div class="container">
    <van-nav-bar left-text="返回" left-arrow @click-left="onClickLeft" />
    <div class="pd10">
      <div class="phone">
        <p>我们将发送验证码到你的手机</p>
        <div class="phone_num">
          <span><van-icon name="phone-o" size="20" /></span>
          <input type="text" placeholder="请输入手机号码" />
        </div>
      </div>
      <div>
        <button>下一步</button>
      </div>
      <div class="have">
        <span>已有账号？</span>
        <span> 登录 </span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  setup() {},
};
</script>
<style lang="scss" scoped>
.phone p {
  font-size: 16px;
  margin-top: 40px;
  margin-bottom: 30px;
}
.phone {
  margin-bottom: 30px;
}
input {
  border: none;
}
.phone_num {
  border: 1px solid #ccc;
  background-color: white;
  height: 40px;
  line-height: 40px;
}
.phone_num span {
  margin: 5px 10px 0 10px;
}
button {
  color: white;
  width: 100%;
  height: 40px;
  background-color: red;
}
.have :last-child {
  color: red;
}
.have {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 20px;
}
</style>